﻿<%@ Page Language="VB" MasterPageFile="~/NavegacaoMaster.master" AutoEventWireup="false" CodeFile="Franquias.aspx.vb" Inherits="Franquias" title="Untitled Page" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
  <asp:ScriptManager ID="scriptManager" runat="server" />
  <asp:UpdatePanel ID="updPanel" runat="server">
    <ContentTemplate>
      <asp:Label ID="lblTituloCadastro" runat="server" Font-Bold="True" CssClass="titulo-pagina"
        Text="Franquias" />
      <hr style="font-size: 12pt" />
      <asp:Panel ID="pangrvRegistros" runat="server" Visible="False">
        <br />
        <div style="text-align: center;">
          <span id="div_page00" runat="server">
            <asp:LinkButton ID="lnk_page00" runat="server" SkinID="lnkGridViewPequena" Text="..."
              OnClick="MudaPagina" />&nbsp; </span><span id="div_page01" runat="server">
                <asp:LinkButton ID="lnk_page01" runat="server" SkinID="lnkGridViewPequena" OnClick="MudaPagina" />&nbsp;
              </span><span id="div_page02" runat="server">
                <asp:LinkButton ID="lnk_page02" runat="server" SkinID="lnkGridViewPequena" OnClick="MudaPagina" />&nbsp;
              </span><span id="div_page03" runat="server">
                <asp:LinkButton ID="lnk_page03" runat="server" SkinID="lnkGridViewPequena" OnClick="MudaPagina" />&nbsp;
              </span><span id="div_page04" runat="server">
                <asp:LinkButton ID="lnk_page04" runat="server" SkinID="lnkGridViewPequena" OnClick="MudaPagina" />&nbsp;
              </span><span id="div_page05" runat="server">
                <asp:LinkButton ID="lnk_page05" runat="server" SkinID="lnkGridViewPequena" OnClick="MudaPagina" />&nbsp;
              </span><span id="div_page06" runat="server">
                <asp:LinkButton ID="lnk_page06" runat="server" SkinID="lnkGridViewPequena" OnClick="MudaPagina" />&nbsp;
              </span><span id="div_page07" runat="server">
                <asp:LinkButton ID="lnk_page07" runat="server" SkinID="lnkGridViewPequena" OnClick="MudaPagina" />&nbsp;
              </span><span id="div_page08" runat="server">
                <asp:LinkButton ID="lnk_page08" runat="server" SkinID="lnkGridViewPequena" OnClick="MudaPagina" />&nbsp;
              </span><span id="div_page09" runat="server">
                <asp:LinkButton ID="lnk_page09" runat="server" SkinID="lnkGridViewPequena" OnClick="MudaPagina" />&nbsp;
              </span><span id="div_page10" runat="server">
                <asp:LinkButton ID="lnk_page10" runat="server" SkinID="lnkGridViewPequena" OnClick="MudaPagina" />&nbsp;
              </span><span id="div_page11" runat="server">
                <asp:LinkButton ID="lnk_page11" runat="server" SkinID="lnkGridViewPequena" Text="..."
                  OnClick="MudaPagina" />&nbsp; </span>
        </div>
        <asp:DataList ID="dtlRegistros" runat="server" RepeatColumns="5" RepeatDirection="Horizontal"
          ItemStyle-VerticalAlign="Top" ItemStyle-Width="120px" ItemStyle-HorizontalAlign="Center">
          <ItemTemplate>
            <div>
              <asp:ImageButton ID="img_AvatarRemetente" runat="server" Width="110px" CommandName="AcessarPerfil"
                CommandArgument='<%# Eval("IdFranquia") %>' ImageUrl='<%# "~/imagens/avatar/" & IIF(Eval("Avatar")="", "sem_avatar.jpg", Eval("Avatar")) %>' />
            </div>
            <div style="width: 110px;">
              <asp:LinkButton ID="lnk_Remetente" runat="server" SkinID="lnkGridViewPequena" Text='<%# Eval("Nome") %>'
                CommandName="AcessarPerfil" CommandArgument='<%# Eval("IdFranquia") %>' /><br />
              <br />
            </div>
          </ItemTemplate>
        </asp:DataList>
      </asp:Panel>
      <br />
    </ContentTemplate>
  </asp:UpdatePanel>
</asp:Content>
